import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/stock_out_order_detail_entity.g.dart';
import 'package:library_base/entities/stock_out_child_data_entity.dart';
import 'dart:convert';
import 'package:library_base/entities/stock_out_order_detail_child_entity.dart';

@JsonSerializable()
class StockOutOrderDetailEntity{

  late String id;
  late List<StockOutOrderDetailChildEntity> details;
  // late StockOutChildDataEntity data;


  StockOutOrderDetailEntity();

  factory StockOutOrderDetailEntity.fromJson(Map<String, dynamic> json) => $StockOutOrderDetailEntityFromJson(json);

  Map<String, dynamic> toJson() => $StockOutOrderDetailEntityToJson(this);

  @override
  String toString() => json.encode(this);

}
